home *** CD-ROM | disk | FTP | other *** search
/ Future Workshop / Future Workshop.iso / multimed / qtw111 / pviewer / libmain.c < prev    next >
C/C++ Source or Header  |  1994-01-11  |  904b  |  36 lines

  1.  
  2. // ---------------------------------------------------------------------
  3. //
  4. // LibMain.c - Picture Viewer - QuickTime for Windows
  5. //
  6. //             Version 1.0
  7. //
  8. //             (c) 1988-1992 Apple Computer, Inc. All Rights Reserved.
  9. //
  10. // ---------------------------------------------------------------------
  11.  
  12.  
  13. // Includes
  14. // --------
  15. #include <Windows.H> // Required by Windows
  16.  
  17.  
  18. // Function: LibMain - Generic Windows "LibMain" Routine
  19. // --------------------------------------------------------------------
  20. // Parameters: As required by Microsoft Windows
  21. //
  22. // Returns:    As required by Microsoft Windows
  23. // --------------------------------------------------------------------
  24. int CALLBACK LibMain
  25.   (HANDLE hInstance, WORD wDataSeg, WORD wHeapSize, LPSTR lpszCmdLine)
  26.  
  27. {
  28.     if (wHeapSize > 0)
  29.         UnlockData (0);
  30.  
  31.     // Return to Windows
  32.  
  33.     return 1;
  34.  
  35. }
  36.